package stdio.costa.moca.rest.exception;

import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;

public abstract class AbstractRestfulException extends WebApplicationException {

	private static final long serialVersionUID = -1386962889554880893L;

	public AbstractRestfulException() {
		super();
	}

	public AbstractRestfulException(int arg0) {
		super(arg0);
	}

	public AbstractRestfulException(Response arg0) {
		super(arg0);
	}

	public AbstractRestfulException(Status arg0) {
		super(arg0);
	}

	public AbstractRestfulException(Throwable arg0, int arg1) {
		super(arg0, arg1);
	}

	public AbstractRestfulException(Throwable arg0, Response arg1) {
		super(arg0, arg1);
	}

	public AbstractRestfulException(Throwable arg0, Status arg1) {
		super(arg0, arg1);
	}

	public AbstractRestfulException(Throwable arg0) {
		super(arg0);
	}

	abstract public Response.Status getResponseStatus();
}
